package com.aio.kgo.simple.form.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author lizhenming
 * @desc: 模型状态
 * @date 2023/12/26 22:28
 */
@Getter
@AllArgsConstructor
public enum ModelStatusEnum {
    DISABLE(0,"停用"),
    ENABLE(1,"开启");
    private Integer status;
    private String desc;
    public boolean eq(Integer value){
        return this.status.equals(value);
    }
}
